#!/usr/bin/env bash
#  "insecure-registries": ["123.57.161.134:5000"]


echo "wolferhua/calibre\n"
docker tag  wolferhua/calibre 123.57.161.134:5000/wolferhua/calibre
docker push 123.57.161.134:5000/wolferhua/calibre


echo "wolferhua/redis:clu-java\n"
docker tag  wolferhua/redis:clu-java 123.57.161.134:5000/wolferhua/redis:clu-java
docker push 123.57.161.134:5000/wolferhua/redis:clu-java


echo "wolferhua/redis:4\n"
docker tag  wolferhua/redis:4 123.57.161.134:5000/wolferhua/redis:4
docker push 123.57.161.134:5000/wolferhua/redis:4



echo "node:8.9.4\n"
docker tag wolferhua/node:8.9.4 123.57.161.134:5000/wolferhua/node:8.9.4
docker push 123.57.161.134:5000/wolferhua/node:8.9.4


echo "php:7.2-fpm\n"
docker tag wolferhua/php:7.2-fpm 123.57.161.134:5000/wolferhua/php:7.2-fpm
docker push 123.57.161.134:5000/wolferhua/php:7.2-fpm

echo "php:7.2-fpm-ssh\n"
docker tag  wolferhua/php:7.2-fpm-ssh 123.57.161.134:5000/wolferhua/php:7.2-fpm-ssh
docker push 123.57.161.134:5000/wolferhua/php:7.2-fpm-ssh


echo "php:5.6-fpm-ssh\n"
docker tag  wolferhua/php:5.6-fpm 123.57.161.134:5000/wolferhua/php:5.6-fpm
docker push 123.57.161.134:5000/wolferhua/php:5.6-fpm

echo "nginx:1.13.10\n"
docker tag  wolferhua/nginx:1.13.10 123.57.161.134:5000/wolferhua/nginx:1.13.10
docker push 123.57.161.134:5000/wolferhua/nginx:1.13.10


echo "elasticsearch:6.2.2\n"
docker tag  wolferhua/elasticsearch:6.2.2 123.57.161.134:5000/wolferhua/elasticsearch:6.2.2
docker push 123.57.161.134:5000/wolferhua/elasticsearch:6.2.2



echo "push to docker.io \n"
docker push wolferhua/calibre
docker push wolferhua/php
docker push wolferhua/nginx
docker push wolferhua/redis